package com.jr.mapper;

import com.jr.entry.Posts;
import com.jr.pojo.*;

import java.util.ArrayList;

public interface PostsMapper {


    /**
     * 下拉框 展示所有可选职业
     * @return
     */
    ArrayList<PostPname> selectAll();

    ArrayList<EntAndPosts> selectLike(EntAndPosts entAndPosts);

    int updateapply(UserAndPosition userAndPosition);

    int updateapply1(ShowPost showPost);

    /**
     * index1界面 高薪职位展示
     * @return
     */
    ArrayList<EnterpriseAndPosts> selectShow();

    /**
     * 搜工作searchJob.html
     * @return
     */
    ArrayList<SearchJob> SearchJobShow(SearchJob searchJob);

    ArrayList<EntAndPosts> selectstatus(EntAndPosts entAndPosts);

    ArrayList<ShowPost> selectAllByPname(ShowPost showPost);

    ArrayList<ShowPost> selectPostByEid(ShowPost showPost);

    int updateConcern(ShowPost showPost);
}
